<template>
	<view class="robot-box" v-if="false">
		<view class="robot-msg-box">
			<robotMessage></robotMessage>
		</view>
		<view class="robot-img" @click.stop="clickRobot">
			<image src="@/static/images/home/robot.png" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		name: "robot",
		data() {
			return {

			};
		},
		methods: {
			// 点击机器人
			clickRobot() {
				// console.log('点击机器人',this.vuex_user_info,this.vuex_online_message_list);
				// this.ccount = ~~this.ccount+1
				// this.$u.vuex('vuex_online_message_list',[...this.vuex_online_message_list,{src:this.vuex_user_info.avatar,
				// 	name:this.vuex_user_info.userName,
				// 	time:new Date(),
				// 	id:new Date().getTime(),
				// 	text:'点击机器人触发消息'+ this.ccount }])
				// console.log(this.vuex_online_message_list,'vuex_online_message_listvuex_online_message_list');
			},
		}
	}
</script>

<style lang="scss" scoped>
	.robot-box {
		position: fixed;
		right: 40rpx;
		bottom: 176rpx;
		width: 80rpx;
		height: 80rpx;
		border: 2rpx solid #fff;
		border-radius: 50%;
		&::before {
			background-color: #00000030;
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			filter: blur(20rpx);
			z-index: -1;
		}

		.robot-msg-box {
			position: absolute;
			bottom: calc(100% + 18rpx);
			right: 26rpx;
		}

		.robot-img {
			width: 100%;
			height: 100%;
			overflow: hidden;
			border-radius: 50%;
			display: none;
			>image {
				width: 150%;
				height: 150%;
				position: absolute;
				left: 50%;
				top: 66%;
				transform: translate(-50%, -50%);
			}
		}
	}
</style>